unit Sobre;

interface

uses Windows, SysUtils, Classes, Graphics, Forms, Controls, StdCtrls,
  Buttons, ExtCtrls;

type
  TFrmSobre = class(TForm)
    Panel1: TPanel;
    OKButton: TButton;
    Bevel1: TBevel;
    Label3: TLabel;
    Label4: TLabel;
    Label2: TLabel;
    Label5: TLabel;
    LblBancodeDados: TLabel;
    Label6: TLabel;
    procedure OKButtonClick(Sender: TObject);
    procedure FormClose(Sender: TObject; var Action: TCloseAction);
    procedure FormShow(Sender: TObject);
  private
    { Private declarations }
  public
    { Public declarations }
  end;

var
  FrmSobre: TFrmSobre;

implementation

uses DmGeral;

{$R *.DFM}

procedure TFrmSobre.OKButtonClick(Sender: TObject);
begin
  Close;
end;

procedure TFrmSobre.FormClose(Sender: TObject; var Action: TCloseAction);
begin
  Action := caFree;
end;

procedure TFrmSobre.FormShow(Sender: TObject);
begin
  LblBancodeDados.Caption := DtmGeral.ConexaoBanco.Params.Values['Database'];
end;

end.
 
